#
# Created by yanhai on 2021/10/13.
#
project(muh)

file(GLOB_RECURSE UTILITY_SOURCE_FILES "*.cpp")

find_package(Boost 1.67.0 REQUIRED COMPONENTS filesystem)

add_library(${PROJECT_NAME} SHARED ${UTILITY_SOURCE_FILES})

target_include_directories(${PROJECT_NAME}
    PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..
    PRIVATE ${Boost_INCLUDE_DIRS})

target_link_libraries(${PROJECT_NAME} PUBLIC ${Boost_LIBRARIES})

add_library(utility::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
